Add missing spin_unlock_irq() at xen/arch/x86/irq.c
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 5 May 2006 12:41:35 +0000 (13:41 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 5 May 2006 12:41:35 +0000 (13:41 +0100)
Changeset 9889:42a8e3101c6c reorganized the code on this file, and
missed this spin_unlock_irq().  Without this patch, my machine hangs
completely during boot.  With this, it works.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
xen/arch/x86/irq.c

index 58a84d11778b1b192e839a78d58f446fd268d450..d6d12841b6e5c87c2993048b4f54f051e39acebf 100644 (file)
@@ -318,6 +318,7 @@ static void __pirq_guest_eoi(struct domain *d, int irq)
     {
         ASSERT(cpus_empty(action->cpu_eoi_map));
         desc->handler->end(irq_to_vector(irq));
+        spin_unlock_irq(&desc->lock);
         return;
     }